package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Attendance;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AttendanceMapper {

    int insert(Attendance record);

    int queryForCount(QueryObject qo);

    List<Attendance> queryForList(QueryObject qo);

    Attendance selectByPrimaryKey(Long id);

    void updateSignOut(@Param("empId") Long empId, @Param("date") Date date);

}